home *** CD-ROM | disk | FTP | other *** search
/ PsL Monthly 1993 December / PSL Monthly Shareware CD-ROM (December 1993).iso / prgmming / dos / apl / apltex_.com / $RAP.MAC < prev    next >
Encoding:
Text File  |  1989-06-05  |  732 b   |  17 lines

  1. ; $RAP.MAC - Definitions for RSB.ASM
  2.  
  3. SVP     EQU     0B6H            ; Interrupt number for SVP.
  4.  
  5. ;  Calls to SVP ...
  6. $GETM   EQU     4               ; Get storage from the Workspace.
  7. $RELM   EQU     5               ; Return storage to Workspace.
  8.  
  9. ; APL Variable header and body equates.(ES based)
  10. E$PTR   EQU  WORD PTR ES:[0]     ; APL Buffer structure.
  11. E$NB    EQU  WORD PTR ES:[2]     ; Number of bytes
  12. E$NELM  EQU  WORD PTR ES:[4]     ; Number of APL elements.
  13. E$TYPE  EQU  BYTE PTR ES:[6]     ; APL Data type 0=bool,1=int,3=char
  14. E$RANK  EQU  BYTE PTR ES:[7]     ; Number of dimensions.
  15. E$DIM1  EQU  WORD PTR ES:[8]     ; 1st dimension of an array.
  16. E$DIM2  EQU  WORD PTR ES:[10]    ; 2nd dimension of an array.
  17.